import React, { Component } from "react";
import "./04-组件的样式.css";

export default class App extends Component {
  state = {
    num: 0,
  };
  render() {
    const obj = {
      backgroundColor: "red",
      color: "#fff",
    };
    return (
      <>
        {10 + 10}
        <div>{true && 10}</div>
        <div>{10 > 20 ? "true" : "false"}</div>
        <div style={obj}>32432</div>
        {/* fdsjkljlkjlkj */}
        <div className="item">jkfjkfds</div>
        <div className="item">3423423</div>
        <label htmlFor="test1">姓名</label>
        <input id="test1" type="text" />
      </>
    );
  }
}
